#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
void compute(double a, double b, char c) {
	double x = 0;
	if (c == '*') {
		x = a * b;
		printf("%0.4lf%c%0.4lf=%0.4lf", a, c, b, x);

	}
	else if (c == '/') {
		if (b != 0.0) {
			x = a / b;
			printf("%0.4lf%c%0.4lf=%0.4lf", a, c, b, x);

		}
		else {
			printf("Wrong!Division by zero!");
		}
		
	}
	else if (c == '+') {
		x = a + b;
		printf("%0.4lf%c%0.4lf=%0.4lf", a, c, b, x);

	}
	else if (c == '-') {
		x = a - b;
		printf("%0.4lf%c%0.4lf=%0.4lf", a, c, b, x);

	}
	
}
int main() {
	double a, b;
	char c = 0;
	scanf("%lf%c%lf", &a, &c, &b);
	if (c == '*' ||c== '/' ||c== '+' || c=='-') {
		compute(a,b,c);
	}
	else {
		printf("Invalid operation!");
	}
	return 0;
}
